package com.vanysoft.framework.config.orm;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 公共的entity
 *
 * @author yu_chen
 * @date 2017-12-01 17:15
 **/
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = -7011380914185428110L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.UUID)
    private String id;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
